package com.ruoyi.ticket.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 闸机记录视图对象 t_ticket_gate_record
 *
 * @author xupeng
 * @date 2023-03-29
 */
@Data
@ExcelIgnoreUnannotated
public class TicketGateRecordVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 票号（预约二维码）
     */
    @ExcelProperty(value = "票号", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "预=约二维码")
    private String ticketNum;

    /**
     * 设备编号
     */
    @ExcelProperty(value = "设备编号")
    private String deviceId;

    /**
     * 开门时间
     */
    @ExcelProperty(value = "开门时间")
    private Date createTime;

    /**
     * 记录类型
     */
    @ExcelProperty(value = "记录类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "ticket_gate_record_type")
    private Integer type;


}
